package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialTerminateRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialTerminatePo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialTerminateDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialTerminateDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialTerminateDomainImpl extends BaseDomainImpl<ContractInitialTerminateDto, ContractInitialTerminatePo> implements ContractInitialTerminateDomain {

    @Resource
    private ContractInitialTerminateRepository contractInitialTerminateRepository;

    @Override
    public BaseRepository<ContractInitialTerminatePo> getMapper() {
        return contractInitialTerminateRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialTerminatePo>> getRepositoryClass() {
        return ContractInitialTerminateRepository.class;
    }

}
